﻿using Microsoft.AspNet.SignalR;

namespace SignaiR1
{
    public class ChatHub : Hub
    {
        public void Send(string name, string message)
        {
            // 客户端通过调用broadcastMessage来获取数据
            Clients.All.broadcastMessage(name, message);
            
            Clients.All.qiao(name, message, "qiaoansheng");
        }
    }
}